/**
 * 
 */
package three_star_craft;

/**
 * Base class for all generators
 * 
 * @author w.antosiewic
 */
public class Generator
{
    protected int _generatorId;
    
    protected Generator()
    {
        _generatorId = 0;
    }
    
    /**
     * Gets ID of this generator 
     * @return ID of this generator
     */
    public int getGeneratorId()
    {
        return _generatorId;
    }
    
	/**
	 * Base implementation of handleEvent.
	 * Subclasses shall override this method to provide useful implementation
	 * @param event
	 */
	public void handleEvent(EventData event)
	{
	
	}
}
